import { createRouter, createWebHistory } from 'vue-router'

import sector from '@/views/sector.vue'
import worker from '@/views/worker.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'overview',
      component: sector
    }, {
      path: '/sector',
      name: 'sector',
      component: sector
    }, {
      path: '/worker',
      name: 'worker',
      component: worker
    }
  ]
})

export default router
